import Router from 'koa-router';
const router = new Router();

import form from './form';

router.prefix('/api');

router.use('/form', form.routes(), form.allowedMethods());

export default function(app) {
  app.use(router.routes(), router.allowedMethods());
}
